package Code.ConstructionMethod;

public class StudentTest {
    public static void main(String[] args) {
        //创建对象
        Student s = new Student();
        System.out.println(s.getName());
        System.out.println(s.getAge());

        System.out.println("--------");
        Student s2 = new Student("张三",18);
        System.out.println(s2.getName());
        System.out.println(s2.getAge());
    }
}
